package com.example.mr5.mygame.gameQuzhiChess;

/**
 * Created by Mr.5 
 * Date：2016/5/9.
 * Time：10:03
 */
public class Chess {
    private int x;
    private int y;

    private int n;

    int type;
    public static final int BALCK = 1;
    public static final int WHITE = -1;

    public Chess(){
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getType() {
        return type;
    }

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }

    public void setXY(int x,int y){
        this.x = x;
        this.y = y;
    }

    public int getN() {
        return n;
    }

    public void setN(int n) {
        this.n = n;
    }
}
